package cn.com.youjile.utils;

/**
 * @Author youjile
 * @CreateDate 2021/3/12
 * @Describe 消息编号定义，防止后期发生变化时做大量改动
 */
public class MsgNumUtil {

    public static final Integer s_test = 0;             //测试
    public static final Integer s_heart = 1;            //心跳
    public static final Integer s_client_exit = 2;      //客户端关闭连接
    public static final Integer s_multicast = 3;        //向所有客户端群发消息
    public static final Integer s_login = 4;            //客户端登录

    public static final Integer c_heart = 1;            //心跳
    public static final Integer c_copy_that = 2;        //确认收到消息
    public static final Integer c_desconn = 3;          //被服务器端强制关闭

    public static final Integer success = 200;
    public static final Integer error = 500;

}
